<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>选课页面</title>
    <script src="/webjars/jquery/3.5.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/5.1.0/bootstrap.min.js"></script>
    <link th:href="@{/webjars/bootstrap/5.1.0/css/bootstrap.css}" rel="stylesheet">
    <link th:href="@{/css/signin.css}" rel="stylesheet">
</head>
<body>
<form th:action="@{courseSelect/submit}"  method="post">
    <table class="table table-striped table-bordered table-hover">
        <thead>
            <tr>
                <td>
                    教师
                </td>
                <td>
                    课程
                </td>
            </tr>
        </thead>
        <tr>
            <td>
                张三
            </td>
            <td>
                <label for="course1">高等数学</label>
                <input id="course1" name="course1"  th:value="高等数学" type="checkbox" th:checked="false">
            </td>
        </tr>
        <tr>
            <td>
                李四
            </td>
            <td>
                <label for="course2">数据结构</label>
                <input id="course2" name="course2"  th:value="数据结构" type="checkbox" th:checked="false">
            </td>
        </tr>
        <tr>
            <td>
                王五
            </td>
            <td>
                <label for="course3">计算机组成原理</label>
                <input id="course3" name="course3"  th:value="计算机组成原理" type="checkbox" th:checked="false" >
            </td>
        </tr>

        <tr>
            <td>
                夏夜
            </td>
            <td>
                <label for="course4">计算机网络</label>
                <input id="course4" name="course4"  th:value="计算机网络" type="checkbox" th:checked="false" >
            </td>
        </tr>
        <tr>
            <td>
                夏新
            </td>
            <td>
                <label for="course5">JavaWeb</label>
                <input id="course5" name="course5"  th:value="JavaWeb" type="checkbox" th:checked="false">
            </td>

        </tr>
    </table>


    <input type="submit" value="提交选课结果">


</form>

</body>
</html>